48dee3356ebd708de29c22acc46f58b5fabe6bfd,regxmllib/src/com/sandflow/smpte/regxml/XMLSchemaBuilder.java,XMLSchemaBuilder,applyRule6_10,#Element#SetTypeDefinition#,984
Before Change
((StrongReferenceTypeDefinition) elemdef).getReferenceType()
);
applyRule6_4_1a(choice, parent);
} else {
After Change
if (parent == null) {
LOG.warning(
String.format(
"Cannot resolve reference type %s for definition %s.",
((StrongReferenceTypeDefinition) elemdef).getReferenceType().toString(),
elemdef.getIdentification().toString()
)
);
Comment comment = root.getOwnerDocument().createComment(
String.format(
"Reference type %s not found.",
((StrongReferenceTypeDefinition) elemdef).getReferenceType()
)
);
choice.appendChild(comment);
} else {
applyRule6_4_1a(choice, parent);
}